package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 小说消费清单
 * TableName : FICTION_BUY
 * ClassName : com.swlz.entity.FictionBuy
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-20 06:56:42
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("FICTION_BUY")
public class FictionBuy  {


	/**
	 * <pre>消费编号 - BUY_ID</pre>
	 **/
	@Id
	private Long buyId;
	/**
	 * <pre>章节编号 - SECTION_ID</pre>
	 **/
	private Long sectionId;
	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	private Long userId;
	/**
	 * <pre>消费积分 - BUY_SCORE</pre>
	 **/
	private Integer buyScore;
	/**
	 * <pre>消费时间 - BUY_TIME</pre>
	 **/
	@JSONField(format="yyyy-MM-dd HH:mm")
	private java.util.Date buyTime;


	/**
	 * <pre>获取消费编号</pre>
	 **/
	public Long getBuyId() {
        return buyId;
    }

	/**
	 * <pre>设置消费编号</pre>
	 **/
    public void setBuyId(Long buyId) {
        this.buyId = buyId;
    }

	/**
	 * <pre>获取章节编号</pre>
	 **/
	public Long getSectionId() {
        return sectionId;
    }

	/**
	 * <pre>设置章节编号</pre>
	 **/
    public void setSectionId(Long sectionId) {
        this.sectionId = sectionId;
    }

	/**
	 * <pre>获取用户编号</pre>
	 **/
	public Long getUserId() {
        return userId;
    }

	/**
	 * <pre>设置用户编号</pre>
	 **/
    public void setUserId(Long userId) {
        this.userId = userId;
    }

	/**
	 * <pre>获取消费积分</pre>
	 **/
	public Integer getBuyScore() {
        return buyScore;
    }

	/**
	 * <pre>设置消费积分</pre>
	 **/
    public void setBuyScore(Integer buyScore) {
        this.buyScore = buyScore;
    }

	/**
	 * <pre>获取消费时间</pre>
	 **/
	public java.util.Date getBuyTime() {
        return buyTime;
    }

	/**
	 * <pre>设置消费时间</pre>
	 **/
    public void setBuyTime(java.util.Date buyTime) {
        this.buyTime = buyTime;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("buyId=");
    	str.append(buyId);
    	str.append(", ");
    	str.append("sectionId=");
    	str.append(sectionId);
    	str.append(", ");
    	str.append("userId=");
    	str.append(userId);
    	str.append(", ");
    	str.append("buyScore=");
    	str.append(buyScore);
    	str.append(", ");
    	str.append("buyTime=");
    	str.append(buyTime);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}